﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

using System.ComponentModel.DataAnnotations;

namespace BeautyTech.WebSite.Areas.WebAdmin.Models.Blogs
{
    public class BlogPostModel
    {
        [Required]
        [Display(Name = "Titre *")]
        public string Title { get; set; }

        [Required]
        [DataType(DataType.MultilineText)]
        [Display(Name = "Introduction *")]
        public string Intro { get; set; }

        [Required]
        [DataType(DataType.MultilineText)] 
        [Display(Name = "Contenu *")]
        public string Body { get; set; }

        [Display(Name = "Commentaires")]   
        public bool AllowComments { get; set; }

        public string Tags { get; set; }

        [Display(Name = "Publication")]  
        public bool Published { get; set; }
    }
}